
#ifndef _GLOBVAR_
#define _GLOBVAR_

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//OH DLL VARS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


//CONSECUTIVE STATES
holdem_state    m_holdem_state[256]; 
unsigned char   m_ndx;

//VERSUS LIST AND PRWIN
phl1k_t m_phl1k;
pp13 prw1326;

//SYMBOLS VAR
pfgws_t m_pget_winholdem_symbol;

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//OWN VARS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//GENERAL VARS
bool SB;
int userchair;
int ismyturn;
int betround;
int handnumber;
int nchairs;
int limit;
double ante;
double bblind;
double sblind;
double decision;
bool tournament;

int dealerchair;
int dealposition;
int nopponentsdealt;

// NAMES
string tabletitle;
string sitename;
string terrainname;

int siteid;

//MONEY VARS
double totalpot;
double call;
double currentbet;
double ncurrentbet; //maximum currentbet on the table
double balance;
double stack_depth;

// POTS
double pot0;
double pot1;
double pot2;
double pot3;
double pot4;
double pot5;
double pot6;
double pot7;
double pot8;
double pot9;

//BET SIZING
double betcall;
double betstandardraise;
double betminraise;
double betxraise;
double betfold;

// TIME
int waitmilliseconds;

//OPPONENT VARS
int nopponentsbetting;
int nopponentscalling; //how many opponents called a raise

//PREFLOP
int pf_my_pos;
int pf_entered;

//SUIT VARS
int flushrank;

//HAND VARS
bool issuited;
int card[7][2];		//rank 2 ; ... ; 14=A suit 1=C ; 2=D ; 3=H ; 4=S
int rankhiplayer;
int rankloplayer;
int gap;            //0 = pair, 1 = connected, 2 = one-gapper etc...

// SERVICE VARIABLES
bool servicedecisionrequested;
bool servicedecisionmade;


#endif